Cut your crap before we come out and deal with you ourselves!
-- Volumelordsunits
to behave:'I [suspect] that we are throwing more and more of our resources, including the cream of our youth, into financial activities remote from the production of goods and services, into activities that generate high private rewards disproportionate to their social productivity. I suspect that the immense power of the computer is being harnessed to this 'paper economy', not to do the same transactions more economically but to balloon the quantity and variety of financial exchanges.'
--James Tobin, July 1984
left x
Moves the head left x indicesright x
Moves the head right x indiceslistTape
Prints the entirety of the tape to the consolesetVal x
Sets the value of the currently selected index to the inputload
Loads the value of the currently selected index onto the accumulatorpaste
Copies the value of the accumulator onto the currently selected indexarithmeticVal x
Replace arithmetic
with add
, sub
, mult
, or div
. Does the specified operation on the currently selected index (with the input as the second component) and writes it to the accumulatorarithmeticIndex x
The same as arithmeticVal x
, except x specifies the address of an index to be used as the second componentrepl.it
is clientside, methinkshalt
Terminates the programv1.1
: Several changesarithmeticVal
is now just arithmetic
! (arithmeticIndex
is unchanged)arithmetic
functions now use the value of the accumulator as the first component!v1.2
: Some changesacc
: Outputs the value of the accumulatoraddress
: Outputs the current addressindex
: Outputs the current value of the current addressand x
: Stores acc AND x
to the accumulatorandIndex:
: Stores acc AND currentIndex
to the accumulatoror x
: Stores acc OR x
to the accumulatororIndex
: Stores acc OR currentIndex
to the accumulatornot
: Stores NOT acc
to the accumulatorarithmeticIndex
now only uses the current index for the second component and no longer requires additional inputv1.3
will have the ability to write actual programs and a major overhaul of existing commands
It'll be out tomorrow at the earliest